aboutsummaryrefslogtreecommitdiffstats
path: root/auth.go
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2012-04-17 23:15:34 -0400
committerbnewbold <bnewbold@robocracy.org>2012-04-17 23:15:34 -0400
commitae5afea4be8ca56e3fb7963fea5e337332e50a1f (patch)
treeac00eb18990fcbf2e63d27601c344fac4a9c76c4 /auth.go
parent031e81471a2ca0e03f415fba18a2ae2492514312 (diff)
downloadbommom-ae5afea4be8ca56e3fb7963fea5e337332e50a1f.tar.gz
bommom-ae5afea4be8ca56e3fb7963fea5e337332e50a1f.zip
basic dumping in several formats
Diffstat (limited to 'auth.go')
-rw-r--r--auth.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/auth.go b/auth.go
index 0bbed40..d8e881e 100644
--- a/auth.go
+++ b/auth.go
@@ -23,18 +23,18 @@ type AuthService interface {
// always returned.
type DummyAuth bool // TODO: what is the best "dummy" abstract base type?
-func (da *DummyAuth) CheckLogin(name, pw string) error {
+func (da DummyAuth) CheckLogin(name, pw string) error {
return nil
}
-func (da *DummyAuth) NewAccount(name, pw, email string) error {
+func (da DummyAuth) NewAccount(name, pw, email string) error {
return nil
}
-func (da *DummyAuth) ChangePassword(name, oldPw, newPw string) error {
+func (da DummyAuth) ChangePassword(name, oldPw, newPw string) error {
return nil
}
-func (da *DummyAuth) GetEmail(name string) (string, error) {
+func (da DummyAuth) GetEmail(name string) (string, error) {
return "example@bommom.com", nil
}