diff --git a/Cargo.lock b/Cargo.lock index 90b90592e99e9341b29a8d463bfc9cde1ff84c9c..1242514e7c4e51f27895fae1aa959bc0241267c1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2342,7 +2342,7 @@ dependencies = [ [[package]] name = "rauth" version = "0.2.7-patch.0" -source = "git+https://gitlab.insrt.uk/insert/rauth?rev=e17673d046f5e447b6805c4ec9a10525b0526d02#e17673d046f5e447b6805c4ec9a10525b0526d02" +source = "git+https://gitlab.insrt.uk/insert/rauth?rev=00d3c3dff51cf3242a7d4adda4c5184c97fa2a03#00d3c3dff51cf3242a7d4adda4c5184c97fa2a03" dependencies = [ "chrono", "handlebars", diff --git a/Cargo.toml b/Cargo.toml index 2b1c1e10a57654b5b4b0821c4536be87ef35d268..832d19c2cab6bc3cee81dd8f92dd5a521a7fcf2f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,7 +42,7 @@ async-std = { version = "1.8.0", features = ["tokio02", "attributes"] } async-tungstenite = { version = "0.10.0", features = ["async-std-runtime"] } rocket_cors = { git = "https://github.com/insertish/rocket_cors", branch = "master" } mongodb = { version = "1.1.1", features = ["tokio-runtime"], default-features = false } -rauth = { git = "https://gitlab.insrt.uk/insert/rauth", rev = "e17673d046f5e447b6805c4ec9a10525b0526d02" } +rauth = { git = "https://gitlab.insrt.uk/insert/rauth", rev = "00d3c3dff51cf3242a7d4adda4c5184c97fa2a03" } rocket_contrib = { git = "https://github.com/SergioBenitez/Rocket", rev = "031948c1daaa146128d8a435be116476f2adde00" } rocket_prometheus = { git = "https://github.com/insertish/rocket_prometheus", rev = "3d825aedb42793246c306a81fe67c5b187948983" } rocket = { git = "https://github.com/SergioBenitez/Rocket", rev = "031948c1daaa146128d8a435be116476f2adde00", default-features = false } diff --git a/set_version.sh b/set_version.sh index dc4440e485d99d2249090d7a07687cdd6d881d5f..3b4132d1c5bf60f3977f753d0b5b517edf34913f 100755 --- a/set_version.sh +++ b/set_version.sh @@ -1,3 +1,3 @@ #!/bin/bash -export version=0.5.1-alpha.18 +export version=0.5.1-alpha.19 echo "pub const VERSION: &str = \"${version}\";" > src/version.rs diff --git a/src/main.rs b/src/main.rs index 0f4cb0d12743f0579789ef210df0ea446b21f001..46892aabfce725ebd2fdb6ccd615099e098d7307 100644 --- a/src/main.rs +++ b/src/main.rs @@ -87,13 +87,18 @@ async fn launch_web() { templates: Templates { verify_email: Template { title: "Verify your Revolt account.", - text: "You're almost there! Verify your account to be able to log into the platform. If you did not perform this action you can safely ignore this email.\nPlease verify your account here: {{url}}\n\nSent by Revolt. · Website: https://revolt.chat\nRevolt is a user-first chat platform built with modern web technologies.", - html: include_str!("../assets/templates/verify_plain.html"), + text: "You're almost there! +If you did not perform this action you can safely ignore this email. + +Please verify your account here: {{url}}", + html: None, }, reset_password: Template { title: "Reset your Revolt password.", - text: "You requested a password reset, if you did not perform this action you can safely ignore this email.\nReset your password here: {{url}}\n\nSent by Revolt. · Website: https://revolt.chat\nRevolt is a user-first chat platform built with modern web technologies.", - html: include_str!("../assets/templates/reset_plain.html"), + text: "You requested a password reset, if you did not perform this action you can safely ignore this email. + +Reset your password here: {{url}}", + html: None, }, welcome: None, }, diff --git a/src/version.rs b/src/version.rs index dc373b58bc517f462386e0dd92d5743a572424f4..24a1ed1c44bf04b8f41a86525d10e0669c6cc646 100644 --- a/src/version.rs +++ b/src/version.rs @@ -1 +1 @@ -pub const VERSION: &str = "0.5.1-alpha.18"; +pub const VERSION: &str = "0.5.1-alpha.19";