Implement hashed passwords.

This commit is contained in:
Juliusz Chroboczek
2020-11-29 14:26:42 +01:00
parent c178c28b60
commit 4c0fd01258
10 changed files with 313 additions and 45 deletions
+6 -2
View File
@@ -49,8 +49,12 @@ func (client *Client) Id() string {
return client.id
}
func (client *Client) Credentials() group.ClientCredentials {
return group.ClientCredentials{"RECORDING", ""}
func (client *Client) Username() string {
return "RECORDING"
}
func (client *Client) Challenge(group string, cred group.ClientCredentials) bool {
return true
}
func (client *Client) OverridePermissions(g *group.Group) bool {