Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
27931d3e
Commit
27931d3e
authored
Jul 21, 2017
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
controlbox: Add JID validation to the login form
parent
631ac610
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CHANGES.md
CHANGES.md
+1
-1
src/converse-controlbox.js
src/converse-controlbox.js
+1
-1
No files found.
CHANGES.md
View file @
27931d3e
...
...
@@ -9,7 +9,7 @@
### New features and improvements
-
Add support for Emojis (either native, or via
<a
href=
"https://www.emojione.com/"
>
Emojione
</a>
). [jcbrand]
-
Add JID validation to the contact add form
and the occupant invite
form. [jcbrand]
-
Add JID validation to the contact add form
, the occupant invite form and the login
form. [jcbrand]
-
#896 Consistently use
`XMPP username`
in user-facing text (instead of JID, Jabber ID etc.). [jcbrand]
### New configuration settings
...
...
src/converse-controlbox.js
View file @
27931d3e
...
...
@@ -423,7 +423,7 @@
let
jid
=
$jid_input
.
val
(),
errors
=
false
;
if
(
!
jid
)
{
if
(
!
jid
||
_
.
filter
(
jid
.
split
(
'
@
'
)).
length
<
2
)
{
errors
=
true
;
$jid_input
.
addClass
(
'
error
'
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment