Skip to content
Browse files

Drop deprecated navigator.id.getVerifiedEmail API

  • Loading branch information...
1 parent bc708b3 commit c61152c09a4d1de2a943ad31d32d35aaaae32d9f @callahad callahad committed
Showing with 3 additions and 3 deletions.
  1. +2 −2 README.md
  2. +1 −1 lib/omniauth/strategies/browser_id.rb
View
4 README.md
@@ -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();
@@ -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.
View
2 lib/omniauth/strategies/browser_id.rb
@@ -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();

0 comments on commit c61152c

Please sign in to comment.
Something went wrong with that request. Please try again.