Implement hashed passwords.

This commit is contained in:
Juliusz Chroboczek committed 2020-11-29 22:17:51 +01:00
1 parent c178c28b60
commit 4c0fd01258
10 files changed
+313 -45

No files matched your search

+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 {