mirror of
https://github.com/pushbits/server.git
synced 2025-05-28 16:26:37 +02:00
Repair channels if necessary
This commit is contained in:
parent
f5560b0c46
commit
2e2326843f
12 changed files with 114 additions and 31 deletions
|
@ -37,7 +37,7 @@ type CreateUser struct {
|
|||
|
||||
// NewUser creates a new user.
|
||||
func NewUser(cm *credentials.Manager, name, password string, isAdmin bool, matrixID string) (*User, error) {
|
||||
log.Printf("Creating user %s.\n", name)
|
||||
log.Printf("Creating user %s.", name)
|
||||
|
||||
passwordHash, err := cm.CreatePasswordHash(password)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue