forked from mirrors/principia
Don't update username if login isn't actually successful
This commit is contained in:
parent
cffeaf50d3
commit
ecaef6d33a
1 changed files with 0 additions and 3 deletions
|
|
@ -1099,10 +1099,7 @@ _login(void *p)
|
|||
|
||||
if (hd.notify_message) {
|
||||
ui::message(hd.notify_message);
|
||||
|
||||
P.username = strdup(data->username);
|
||||
P.add_action(ACTION_REFRESH_HEADER_DATA, 0);
|
||||
|
||||
ui::emit_signal(SIGNAL_LOGIN_SUCCESS);
|
||||
|
||||
free(hd.notify_message);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue