mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 10:33:41 +08:00
5919618a87
This is not used in core or official plugins, and has been printing a deprecation notice since v2.3.0beta4. All OpenID 2.0 code and dependencies have been dropped. The user_open_ids table remains for now, in case anyone has missed the deprecation notice, and needs to migrate their data. Context at https://meta.discourse.org/t/-/113249
17 lines
499 B
Ruby
17 lines
499 B
Ruby
# frozen_string_literal: true
|
|
|
|
# name: plugin-name
|
|
# about: about: my plugin
|
|
# version: 0.1
|
|
# authors: Frank Zappa
|
|
|
|
auth_provider title: 'with Ubuntu',
|
|
authenticator: Auth::FacebookAuthenticator.new,
|
|
message: 'Authenticating with Ubuntu (make sure pop up blockers are not enbaled)',
|
|
frame_width: 1000, # the frame size used for the pop up window, overrides default
|
|
frame_height: 800
|
|
|
|
register_javascript <<JS
|
|
console.log("Hello world")
|
|
JS
|