Skip to content

Commit

Permalink
Drop deprecated navigator.id.getVerifiedEmail API
Browse files Browse the repository at this point in the history
  • Loading branch information
callahad committed Feb 16, 2012
1 parent bc708b3 commit c61152c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -33,7 +33,7 @@ To better integrate BrowserID with your application, you will want to use the Br
<script src="https://browserid.org/include.js" type="text/javascript"></script>
<script type='text/javascript'>
function loginViaEmail() {
navigator.id.getVerifiedEmail(function(assertion) {
navigator.id.get(function(assertion) {
if (assertion) {
$('input[name=assertion]').val(assertion);
$('#browser_id_form').submit();
Expand Down Expand Up @@ -78,4 +78,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2 changes: 1 addition & 1 deletion lib/omniauth/strategies/browser_id.rb
Expand Up @@ -33,7 +33,7 @@ def request_phase
<script src="https://browserid.org/include.js" type="text/javascript"></script>
<script type='text/javascript'>
function loginViaEmail() {
navigator.id.getVerifiedEmail(function(assertion) {
navigator.id.get(function(assertion) {
if (assertion) {
$('input[name=assertion]').val(assertion);
$('form').submit();
Expand Down

0 comments on commit c61152c

Please sign in to comment.