mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
bugfix
This commit is contained in:
parent
cfb5373516
commit
8b761dbab5
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ app = Sammy('#main', function (sam) {
|
||||||
c.flash('fail', 'Wrong password');
|
c.flash('fail', 'Wrong password');
|
||||||
if (xhr.status == 401) {
|
if (xhr.status == 401) {
|
||||||
c.flash('fail', 'Wrong password');
|
c.flash('fail', 'Wrong password');
|
||||||
} else if (typeof xhr.responseJSON !== undefined) {
|
} else if (typeof xhr.responseJSON !== 'undefined') {
|
||||||
c.flash('fail', xhr.responseJSON.error);
|
c.flash('fail', xhr.responseJSON.error);
|
||||||
} else {
|
} else {
|
||||||
if (uri == '/postinstall') {
|
if (uri == '/postinstall') {
|
||||||
|
|
Loading…
Add table
Reference in a new issue