Merge pull request #1214 from Br3nda/authentication-scoping

User can only sign out their own session
This commit is contained in:
pozorvlak
2017-02-13 22:38:40 +00:00
committed by GitHub

View File

@@ -29,7 +29,6 @@ class AuthenticationsController < ApplicationController
# DELETE /authentications/1
def destroy
@authentication = Authentication.find(params[:id])
@authentication.destroy
respond_to do |format|