Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 13
- Log:
Initial import of Typo 2.6.0 sources from a downloaded Tarball.
Typo is a Ruby On Rails based blog engine.
- Author:
- adh
- Date:
- Sat Jul 22 22:25:02 +0100 2006
- Size:
- 616 Bytes
1 | class TypoWebService < ActionWebService::Base |
2 | |
3 | protected |
4 | |
5 | def authenticate(name, args) |
6 | method = self.class.web_service_api.api_methods[name] |
7 | |
8 | # Coping with backwards incompatibility change in AWS releases post 0.6.2 |
9 | begin |
10 | h = method.expects_to_hash(args) |
11 | raise "Invalid login" unless @user=User.authenticate(h[:username], h[:password]) |
12 | rescue NoMethodError |
13 | username, password = method[:expects].index(:username=>String), method[:expects].index(:password=>String) |
14 | raise "Invalid login" unless @user = User.authenticate(args[username], args[password]) |
15 | end |
16 | end |
17 | end |