Update cookie for language setting when editing user information
commit7ff50701903017b3b97ca3ca176e923769cdad43
authorMark Weiman <mark.weiman@markzz.com>
Fri, 20 Jan 2017 06:16:40 +0000 (20 01:16 -0500)
committerLukas Fleischer <lfleischer@archlinux.org>
Fri, 20 Jan 2017 22:20:51 +0000 (20 23:20 +0100)
treeb86c19012a1b8c2c76631d7b9ebd3982e4728ad8
parent608c48309084e4048d8226c3f7e363b240248040
Update cookie for language setting when editing user information

Currently, when a user edits their language setting from the edit user form,
the changes aren't reflected until the user either lets the original cookie
expire, deletes the cookie manually, or changes the language a second time via
the dropdown menu on the top of the page. This patch makes the language cookie
get updated when it is changed from the edit user form.

Signed-off-by: Mark Weiman <mark.weiman@markzz.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
web/lib/acctfuncs.inc.php