PR#1941 Merged Add Docstring for ssh_key_validation

Proposed 5 months ago by shivani1706
Modified 5 months ago
From forks/shivani1706/pagure fix-doc  into pagure master
file changed

1 @@ -99,6 +99,7 @@ 

2   

3   

4   def ssh_key_validator(form, field):

5 +     ''' Form for ssh key validation '''

6       if not pagure.lib.are_valid_ssh_keys(field.data):

7           raise wtforms.ValidationError('Invalid SSH keys')

8   
5 months ago

Pull-Request has been merged by pingou

Changes summary
+1 -0
file changed