Skip to content

Commit

Permalink
Merge pull request #714 from powerful23/auth-configure-fix
Browse files Browse the repository at this point in the history
Auth configure fix
  • Loading branch information
powerful23 authored Apr 24, 2018
2 parents 2f0f3be + 0828cb0 commit b5d05fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-amplify/src/Auth/Auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default class AuthClass {
}

configure(config) {
if (!config) return this._config;
if (!config) return this._config || {};
logger.debug('configure Auth');
const conf = Object.assign({}, this._config, Parser.parseMobilehubConfig(config).Auth, config);
this._config = conf;
Expand Down

0 comments on commit b5d05fc

Please sign in to comment.