X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcore.cpp;h=2049b63b5ba4df42911b2893d7b58f6a104ae081;hp=e7b563926f261c29f6b0cc71fa9e434e780dce0c;hb=921321156c2f1ceed0e02d519a1835e63e8c8b48;hpb=1cb02004ee5973b89368bd84f234d4652794690d diff --git a/src/core/core.cpp b/src/core/core.cpp index e7b56392..2049b63b 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -818,6 +818,15 @@ void Core::changeUserPass(const QString &username) } +bool Core::changeUserPassword(UserId userId, const QString &password) +{ + if (!isConfigured() || !userId.isValid()) + return false; + + return instance()->_storage->updateUser(userId, password); +} + + AbstractSqlMigrationReader *Core::getMigrationReader(Storage *storage) { if (!storage)