Changeset View
Changeset View
Standalone View
Standalone View
src/ruqolacore/rocketchataccount.cpp
Context not available. | |||||
1222 | return settings()->password(); | 1222 | return settings()->password(); | ||
---|---|---|---|---|---|
1223 | } | 1223 | } | ||
1224 | 1224 | | |||
1225 | QString RocketChatAccount::twoFactorAuthenticationCode() const | ||||
1226 | { | ||||
1227 | return settings()->twoFactorAuthenticationCode(); | ||||
1228 | } | ||||
1229 | | ||||
1225 | void RocketChatAccount::setAuthToken(const QString &token) | 1230 | void RocketChatAccount::setAuthToken(const QString &token) | ||
1226 | { | 1231 | { | ||
1227 | settings()->setAuthToken(token); | 1232 | settings()->setAuthToken(token); | ||
Context not available. | |||||
1232 | settings()->setPassword(password); | 1237 | settings()->setPassword(password); | ||
1233 | } | 1238 | } | ||
1234 | 1239 | | |||
1240 | void RocketChatAccount::setTwoFactorAuthenticationCode(const QString &twoFactorAuthenticationCode) | ||||
1241 | { | ||||
1242 | settings()->setTwoFactorAuthenticationCode(twoFactorAuthenticationCode); | ||||
1243 | } | ||||
1244 | | ||||
1235 | void RocketChatAccount::setUserName(const QString &username) | 1245 | void RocketChatAccount::setUserName(const QString &username) | ||
1236 | { | 1246 | { | ||
1237 | settings()->setUserName(username); | 1247 | settings()->setUserName(username); | ||
Context not available. |