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
55cfab44
Commit
55cfab44
authored
May 13, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #296 from mchubby/ssh-pubkey-cmt
Allow multiple words for OpenSSH public key: comment field
parents
61aa8d32
43310a4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
trans/admin_views.py
trans/admin_views.py
+1
-1
No files found.
trans/admin_views.py
View file @
55cfab44
...
...
@@ -173,7 +173,7 @@ def ssh(request):
# Read key data if it exists
if
os
.
path
.
exists
(
key_path
):
key_data
=
file
(
key_path
).
read
()
key_type
,
key_fingerprint
,
key_id
=
key_data
.
strip
().
split
()
key_type
,
key_fingerprint
,
key_id
=
key_data
.
strip
().
split
(
None
,
2
)
key
=
{
'key'
:
key_data
,
'type'
:
key_type
,
...
...
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