bengler / checkpoint

Centralized identity store and authentication broker for web applications. It supports a number of authentication mechanisms and is provided via a http-interface.
MIT License
31 stars 2 forks source link

Common handling of Account::InUseError #15

Closed simen closed 12 years ago

simen commented 12 years ago

Today Account::InUseError is handled on line ./api/v1/identities.rb:16. But this error can be thrown from multiple places. It should be handled with a sinatra error-block for all cases.