mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-18 21:56:55 -04:00
Merge pull request #1214 from Br3nda/authentication-scoping
User can only sign out their own session
This commit is contained in:
@@ -29,7 +29,6 @@ class AuthenticationsController < ApplicationController
|
||||
|
||||
# DELETE /authentications/1
|
||||
def destroy
|
||||
@authentication = Authentication.find(params[:id])
|
||||
@authentication.destroy
|
||||
|
||||
respond_to do |format|
|
||||
|
||||
Reference in New Issue
Block a user