Install and configure Devise for user authentication #149

Merged
bustikiller merged 9 commits from devise into main 2024-11-30 17:50:43 +00:00
6 changed files with 12 additions and 0 deletions
Showing only changes of commit 5458c6dd8c - Show all commits

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
class Users::RegistrationsController < Devise::RegistrationsController
clear_respond_to
respond_to :json

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
class Users::SessionsController < Devise::SessionsController
clear_respond_to
respond_to :json

2
db/schema.rb generated
View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
module Swagger
module Schema
USER = {

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
require 'swagger_helper'
RSpec.describe 'users/registrations', type: :request do

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
require 'swagger_helper'
RSpec.describe 'users/sessions', type: :request do