import { AuthStatus } from './auth-status.model'
import { AuthUser } from './auth-user.model'
import { objectToUrlEncoded } from '@app/shared/misc/utils'
-import { peertubeLocalStorage } from '@app/shared/misc/peertube-local-storage'
+import { peertubeLocalStorage } from '@app/shared/misc/peertube-web-storage'
import { I18n } from '@ngx-translate/i18n-polyfill'
import { Hotkey, HotkeysService } from 'angular2-hotkeys'
response_type: 'code',
grant_type: 'password',
scope: 'upload',
- username: username.toLowerCase(),
+ username,
password
}