Skip to content

Commit

Permalink
Update CognitoSecretHash.java
Browse files Browse the repository at this point in the history
Closed the last quote in comment
  • Loading branch information
NischalManandhar authored and minbi committed Dec 5, 2018
1 parent efb3bda commit e94d64e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

package com.amazonaws.mobileconnectors.cognitoidentityprovider.util;

import android.text.TextUtils;

import com.amazonaws.mobileconnectors.cognitoidentityprovider.exceptions.CognitoInternalErrorException;
import com.amazonaws.mobileconnectors.cognitoidentityprovider.exceptions.CognitoParameterInvalidException;
import com.amazonaws.util.Base64;
Expand Down Expand Up @@ -50,7 +52,7 @@ public static String getSecretHash(String userId, String clientId, String client
}

// Return null as secret hash if clientSecret is null or "".
// We receive clientSecret as "" if we create cognitoUserPool from awsConfiguration file with "AppClientSecret": "
// We receive clientSecret as "" if we create cognitoUserPool from awsConfiguration file with "AppClientSecret": ""
if (TextUtils.isEmpty(clientSecret)) {
return null;
}
Expand Down

0 comments on commit e94d64e

Please sign in to comment.