Skip to content

Commit

Permalink
Add mail option
Browse files Browse the repository at this point in the history
  • Loading branch information
beezly committed May 16, 2014
1 parent ff25446 commit 1eb06b9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ To use the test authenticator, configure it in your cas.yml:
authenticator: "Test"
options:

Currently there are no options.
The only option is "mail" which will return a mail attribute containg a fake e-mail address for the user.

## Contributing to casino-test_authenticator

Expand Down
1 change: 0 additions & 1 deletion lib/casino/test_authenticator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def generate_user
def extra_attributes
attr = {}
attr[:mail] = Faker::Internet.email if @options[:mail]
puts attr
attr.length == 0 ? nil : attr
end
end
2 changes: 1 addition & 1 deletion lib/casino/test_authenticator/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module CASino
class TestAuthenticator
VERSION = '1.0.0'
VERSION = '1.1.0'
end
end

0 comments on commit 1eb06b9

Please sign in to comment.