From: Yasin Date: Fri, 24 Jan 2014 11:10:41 +0000 (+0100) Subject: Reg: upload file. error msg edited for security issues X-Git-Tag: myslice-0.3-0~19^2 X-Git-Url: http://git.onelab.eu/?p=unfold.git;a=commitdiff_plain;h=8a0b7b28c23107508789ca14b812ada1cfbe604b Reg: upload file. error msg edited for security issues --- diff --git a/portal/registrationview.py b/portal/registrationview.py index c966b52f..90893f75 100644 --- a/portal/registrationview.py +++ b/portal/registrationview.py @@ -133,7 +133,7 @@ class RegistrationView (FreeAccessView): public_key = file_content public_key = ''.join(public_key.split()) else: - errors.append('Please upload a valid RSA public key [.txt or .pub].') + errors.append('Please upload a valid RSA public key.') #b = PendingUser(first_name=reg_fname, last_name=reg_lname, affiliation=reg_aff, # email=reg_email, password=request.POST['password'], keypair=keypair)