Own contacts can be deleted without password

This commit is contained in:
Priit Tark 2015-05-04 11:27:14 +03:00
parent 670df629b4
commit 8cc03774ff
3 changed files with 43 additions and 7 deletions

View file

@ -123,7 +123,7 @@ class Epp::ContactsController < EppController
def validate_delete
@prefix = 'delete > delete >'
requires 'id', 'authInfo > pw'
requires 'id'
@prefix = nil
end