commit | ab9cba2b561e90df8521c0795cabd6fb1fd43f2e | [log] [tgz] |
---|---|---|
author | tylerliu <tylersiqi@163.com> | Fri Oct 09 00:13:46 2020 -0700 |
committer | tylerliu <tylersiqi@163.com> | Fri Oct 09 00:13:46 2020 -0700 |
tree | efba9a6f2b6c82ffbaa6320385be31c4b74f628b | |
parent | b47dad7bd3666c714b37e7939f56d935457a5221 [diff] [blame] |
fix CHALLENGE state error Change-Id: Ic555b6be9bceeebe9076847be9fd6f139943ef16
diff --git a/src/identity-challenge/challenge-module.hpp b/src/identity-challenge/challenge-module.hpp index deed763..7021666 100644 --- a/src/identity-challenge/challenge-module.hpp +++ b/src/identity-challenge/challenge-module.hpp
@@ -81,6 +81,8 @@ const size_t m_maxAttemptTimes; const time::seconds m_secretLifetime; + static const std::string SUCCESS; + private: typedef function<unique_ptr<ChallengeModule>()> ChallengeCreateFunc; typedef std::map<std::string, ChallengeCreateFunc> ChallengeFactory;