Mercurial Hosting > freedit
diff src/lib/User.luan @ 58:31c895b73bd0
improve change email
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 29 Nov 2022 16:09:17 -0700 |
parents | 169ac5fdb320 |
children | 02d8876dc41d |
line wrap: on
line diff
--- a/src/lib/User.luan Mon Nov 28 23:47:19 2022 -0700 +++ b/src/lib/User.luan Tue Nov 29 16:09:17 2022 -0700 @@ -39,7 +39,8 @@ password = doc.password name = doc.user_name created = doc.created - hidden_password = doc.hidden_password + hidden_password_1 = doc.hidden_password_1 + hidden_password_2 = doc.hidden_password_2 } set_local_only(users_by_id,user.id,user) return user @@ -54,7 +55,8 @@ password = user.password user_name = user.name created = user.created or time_now() - hidden_password = user.hidden_password + hidden_password_1 = user.hidden_password_1 + hidden_password_2 = user.hidden_password_2 } end