mirror of
https://git.ari.lt/ari.lt/ari.lt.git
synced 2025-02-04 17:49:24 +01:00
update @ Sat 9 Oct 04:52:54 EEST 2021
This commit is contained in:
parent
0e21e28ada
commit
dfc2c0eb45
1 changed files with 2 additions and 2 deletions
|
@ -151,8 +151,8 @@ function passwd() {
|
|||
|
||||
if (current_password == localStorage.getItem('password')) {
|
||||
if (password1 === password2) {
|
||||
localStorage.setItem("password", bash(password1))
|
||||
alert(`password set to '${password1}'`);
|
||||
localStorage.setItem("password", hash(password1))
|
||||
alert(`password set`);
|
||||
} else {
|
||||
return "Passwords don't match"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue