Fix link to Set New Password route #117

Merged
glyph merged 5 commits from fix_set_new_passwork_link into main 2022-06-16 10:02:13 +00:00
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "peach-web"
version = "0.6.13"
version = "0.6.14"
authors = ["Andrew Reid <gnomad@cryptolab.net>"]
edition = "2018"
description = "peach-web is a web application which provides a web interface for monitoring and interacting with the PeachCloud device. This allows administration of the single-board computer (ie. Raspberry Pi) running PeachCloud, as well as the ssb-server and related plugins."
@ -9,6 +9,7 @@ repository = "https://github.com/peachcloud/peach-web"
readme = "README.md"
license = "AGPL-3.0-only"
publish = false
[package.metadata.deb]
depends = "apache2-utils"
extended-description = """\
@ -26,9 +27,11 @@ assets = [
["static/images/*", "/usr/share/peach-web/static/images/", "644"],
["README.md", "/usr/share/doc/peach-web/README", "644"],
]
[badges]
travis-ci = { repository = "peachcloud/peach-web", branch = "master" }
maintenance = { status = "actively-developed" }
[dependencies]
async-std = "1.10"
base64 = "0.13"

View File

@ -30,7 +30,7 @@ pub fn build_template(request: &Request) -> PreEscaped<String> {
form id="sendPasswordReset" action="/auth/temporary" method="post" {
div id="buttonDiv" {
input class="button button-primary center" style="margin-top: 1rem;" type="submit" value="Send Temporary Password" title="Send temporary password to Scuttlebutt admin(s)";
a href="/auth/reset_password" class="button button-primary center" title="Set a new password using the temporary password" {
a href="/auth/reset" class="button button-primary center" title="Set a new password using the temporary password" {
"Set New Password"
}
}