mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Use getText() instead of val() for username & password
This commit is contained in:
@@ -57,8 +57,8 @@ class SignInView extends ScrollView
|
||||
@password.disable()
|
||||
@signIn.disable()
|
||||
|
||||
username = $.trim(@username.val())
|
||||
credentials = btoa("#{username}:#{@password.val()}")
|
||||
username = $.trim(@username.getText())
|
||||
credentials = btoa("#{username}:#{@password.getText()}")
|
||||
request =
|
||||
scopes: ['user', 'repo', 'gist']
|
||||
note: 'GitHub Atom'
|
||||
|
||||
Reference in New Issue
Block a user