mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
Update code to reflect change to translations.
This commit is contained in:
parent
16dcc36c26
commit
b5a21535d3
1 changed files with 2 additions and 2 deletions
|
@ -464,7 +464,7 @@ function do_edit ()
|
|||
end
|
||||
return redirect(portal_url.."password.html")
|
||||
|
||||
-- Edit user informations
|
||||
-- Edit user information
|
||||
elseif string.ends(ngx.var.uri, "edit.html") then
|
||||
if args.givenName and args.sn and args.mail then
|
||||
|
||||
|
@ -561,7 +561,7 @@ function do_edit ()
|
|||
cache:delete(user.."-mail|"..v)
|
||||
end
|
||||
set_headers(user) -- Ugly trick to reload cache
|
||||
flash("win", t("informations_updated"))
|
||||
flash("win", t("information_updated"))
|
||||
return redirect(portal_url.."info.html")
|
||||
else
|
||||
flash("fail", t("user_saving_fail"))
|
||||
|
|
Loading…
Add table
Reference in a new issue