projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Store the channel keys in CoreNetwork again
[quassel.git]
/
src
/
core
/
core.cpp
diff --git
a/src/core/core.cpp
b/src/core/core.cpp
index
e7b5639
..
2049b63
100644
(file)
--- 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)
AbstractSqlMigrationReader *Core::getMigrationReader(Storage *storage)
{
if (!storage)