mirror of
http://git.carcosa.net/jmcbray/brutaldon.git
synced 2024-11-23 07:13:52 -05:00
Fix a bug in settings page
This commit is contained in:
parent
255d084d57
commit
afc62c51e3
@ -715,7 +715,8 @@ def settings(request):
|
||||
user_info = mastodon.account_verify_credentials()
|
||||
request.session["active_user"] = user_info
|
||||
accounts_dict = request.session["accounts_dict"]
|
||||
accounts_dict[new_account]["user"] = request.session["active_user"]
|
||||
|
||||
accounts_dict[account.username]["user"] = user_info
|
||||
request.session["accounts_dict"] = accounts_dict
|
||||
|
||||
return redirect(home)
|
||||
|
Loading…
Reference in New Issue
Block a user