Sha256: 37e159ffc90b01a262f42b48af2746add69c8e09eb8a09b67bb99600c523b3e5

Contents?: true

Size: 312 Bytes

Versions: 6

Compression:

Stored size: 312 Bytes

Contents

module Teamster
  module Core
    class Login < Sinatra::Base
      get '/login/?' do
        session[:current_user] = "A Registered User (Login Not Implemented)"
        redirect to '/'
      end

      get '/logout/?' do
        session[:current_user] = nil
        redirect to '/'
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
teamster-0.3.3 lib/teamster/login.rb
teamster-0.3.2 lib/teamster/login.rb
teamster-0.3.1 lib/teamster/login.rb
teamster-0.3.0 lib/teamster/login.rb
teamster-0.2.2 lib/teamster/login.rb
teamster-0.2.1 lib/teamster/login.rb