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
8b761dbab5
commit
af855a8731
1 changed files with 0 additions and 1 deletions
|
@ -96,7 +96,6 @@ app = Sammy('#main', function (sam) {
|
|||
})
|
||||
.fail(function(xhr) {
|
||||
console.log(xhr);
|
||||
c.flash('fail', 'Wrong password');
|
||||
if (xhr.status == 401) {
|
||||
c.flash('fail', 'Wrong password');
|
||||
} else if (typeof xhr.responseJSON !== 'undefined') {
|
||||
|
|
Loading…
Add table
Reference in a new issue