[Git][noosfero/noosfero][master] 2 commits: login: avoid hyphen removal

Rodrigo Souto gitlab at mg.gitlab.com
Mon Jan 8 16:48:44 BRST 2018


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
87af7629 by Rodrigo Souto at 2018-01-05T11:18:17-03:00
login: avoid hyphen removal

- - - - -
c0cc2d31 by Rodrigo Souto at 2018-01-08T18:48:34+00:00
Merge branch 'login-separator' into 'master'

Login separator

See merge request noosfero/noosfero!1369
- - - - -


1 changed file:

- public/javascripts/application.js


Changes:

=====================================
public/javascripts/application.js
=====================================
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -101,7 +101,7 @@ function convToValidLogin( str ) {
 }
 
 function convToValidUsername( str ) {
-  return convToValidIdentifier(str, '');
+  return convToValidIdentifier(str, '-');
 }
 
 /* * * Convert a string to a valid login name * * */



View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/9bd701244ee8faf51e24e84de66d12ab4bfa1ef4...c0cc2d31abf1ad542923cfacbf9dfbdea01c6b6f

---
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/9bd701244ee8faf51e24e84de66d12ab4bfa1ef4...c0cc2d31abf1ad542923cfacbf9dfbdea01c6b6f
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20180108/e5968097/attachment-0001.html>


More information about the Noosfero-dev mailing list