chore: reduce branching in authenticator

This commit is contained in:
Randall Morey committed 2020-10-03 12:46:21 -04:00
1 parent 5254cfe228
commit 7021e3e0f4
1 file changed
+1 -1
+1 -1
View File
@@ -77,7 +77,7 @@ export default class PasswordAuthenticator extends BasePasswordAuthenticator {
*/
restore(data) {
const token = data?.token;
if (token) this.addTokenToAuthorization(token);
this.addTokenToAuthorization(token);
return super.restore(data);
}